<template>
    <div class="products">
        <ul class="product-list">
            <li v-for="(item, idx) in data" :key="idx" class="list-item">
                <Product :product="item" />
            </li>
        </ul>
        <div class="product-list-more">
            <a href="/" class="link">
                <span class="txt">浏览更多<small>热门</small></span>
                <i class="fa fa-arrow-circle-o-right" />
            </a>
        </div>
    </div>
</template>

<script>
    import Product from '../../public/product'
    export default {
        components: {
            Product
        },
        props: {
            data: {
                type: Array,
                default() {
                    return []
                }
            }
        }
    }
</script>

<style scoped>

</style>